
public interface Device {

    short ancho = 240;
    short alto = 320;

    int ancho_barra = ancho/9;

    short anchoCelda = 25;
    short altoCelda = anchoCelda;
    short celdaX = ((short) ((ancho - 9 * anchoCelda) / 2));
    short celdaY = ((short) ((alto - 9 * altoCelda) / 2)) - 20;
    int alto_barra = 5;
    int barra_x = (ancho - 9 * ancho_barra) >> 1;
    int barra_y = 295;
    short time_y = 10;
    short menu_h = 20;
}
